package cn.torna.tornaexample.controller.eg.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

import java.util.List;

@Data
public class GoodsSearchParameterDTO implements Serializable {

    private static final long serialVersionUID = -5401313822660120668L;

    @Schema(description = "品牌列表", example = "[1,2]")
    private List<String> brandIdList;

//    @Schema(description = "过滤活动、商品归属、商品类型" )
//    private List<SearchActivityReqDTO> searchActivityReqDto;

    @Schema(description = "ddddddd", required = true, example = "1")
    private Integer sort;

    @Schema(description = "价格区间开始",required = true, example = "0.01")
    private BigDecimal priceStart;

    @Schema(description = "价格区间开始结束", example = "100" )
    private BigDecimal priceEnd;

    @Schema(description = "地址码", required = true, example = "123")
    private String addressCode;

    @Schema(description = "销售类目列表" , example = "[1,2]")
    private List<String> saleCid;

    @Schema(description = "fffffff", required = true,example = "2")
    private List<String> dataTag;

    @Schema(description = "ffffffff", example = "[1,2]" )
    private List<String> productChannelCode;

    @Schema(description = "fffffffff", example = "1")
    private String businessType;

    @Schema(description = "渠道" )
    private List<String> filterChannelList;

    @Schema(description = "属性Id列表")
    private List<String> attributeList;

    @Schema(description = "店铺id", example = "[1,2]")
    private List<Long> shopIdList;

    @Schema(description = "索引名称", required = true, example = "dddddd")
    private String indexName;

    @Schema(description = "索引服务地址", required = true, example = "dddddd")
    private String searchUrl;

    @Schema(description = "价格索引名称", required = true, example = "ddddddd")
    private String priceIndexName;

    @Schema(description = "价格索引服务地址", required = true, example = "ddddddd")
    private String priceSearchUrl;

    @Schema(description = "商品编码列表")
    private List<String> itemCodeList;

    @Schema(description = "查询商品的总条数", example = "3")
    private Integer searchGoodsSize;

    @Schema(description = "查询基础价", example = "1")
    private Integer queryBasePrice;

    @Schema(description = "仅看有货：有",required = true, example = "有")
    private String skuStock;

    @Schema(description = "商家id列表", example = "[1,2]")
    private List<Long> sellerIdList;

    @Schema(description = "店铺二级类目列表")
    private List<String> shopCids;

    @Schema(description = "仅根据itemCode查询", example = "1")
    private String searchItemCode;

}
